﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BikePartsManager;

namespace BikePartsManager
{
    class Part
    {
        #region Attributes

        private int _id;
        private string _name;
        private string _brand;
        private string _info;
        private int _buyPrice;
        private BuyType _buyType;

        #endregion

        #region Methods

        #endregion

        #region Getter & Setter

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Brand
        {
            get { return _brand; }
            set { _brand = value; }
        }

        public string Info
        {
            get { return _info; }
            set { _info = value; }
        }

        public int Price
        {
            get { return _buyPrice; }
            set { _buyPrice = value; }
        }

        public BuyType BuyType
        {
            get { return _buyType; }
            set { _buyType = value; }
        }

        #endregion
    }
}
